New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

babel-preset-umeboshi

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-umeboshi

Default Babel preset for Umeboshi

0.1.5
Version published
Maintainers
1
Created

babel-preset-umeboshi

Standard Babel preset for Umeboshi templates

This preset includes:

Install

With npm:

npm install --save-dev babel-preset-umeboshi

Or yarn:

yarn add babel-preset-umeboshi --dev

Usage

Add the preset to .babelrc file in your project's root folder.

{
  "presets": ["umeboshi"]
}

Preset options

By default both async/await and async import() are supported. Anyway in order to support older environments the preset needs to transpile them to generators and include the related runtime. This will result in an increased bundle size.
If you plan not to use such features, you can disable them with the following setup:

{
  "presets": [
      ["umeboshi", {
          async: false,
          asyncImport: false
    }]
  ]
}

FAQs

Package last updated on 25 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts